﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace SaleOnlineSystem.Controls
{
    public partial class CartLeftCreateNew : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void btnContinue_Click(object sender, EventArgs e)
        {
            BOL.Shopping.ShoppingCart.Instance.customer.fullname = txtFullname.Text;
            BOL.Shopping.ShoppingCart.Instance.customer.email = txtEmail.Text;
            BOL.Shopping.ShoppingCart.Instance.customer.phonenumber = txtPhone.Text;
            BOL.Shopping.ShoppingCart.Instance.customer.address = txtAddress.Text;

            Response.Redirect("~/phuongthucthanhtoan.htm");
        }

        protected void btnCancel_Click(object sender, EventArgs e)
        {
            Response.Redirect("~/trangchu.htm");
        }
    }
}